Automatic differentiation and numerical software design
نویسنده
چکیده
Automatic diierentiation (AD) tools can generate accurate and eecient derivative code for computer programs of arbitrary length. In some cases, however, the developer of the code to be diierentiated may be required to provide additional information to an AD tool to ensure the desired solution. We illustrate these issues with nondiierentiable language intrinsics such as max() in the context of computing the Euclidean norm and numerical integrators. In both cases, very little additional information is required to ensure that AD computes the \do-what-I-mean" derivatives. In addition, the provision of such information makes it easy to derive \derivative-enhanced" versions of these codes.
منابع مشابه
Automatic Differentiation and Implicit Differential Equations
Many physical processes are most naturally and easily modeled as mixed systems of differential and algebraic equations (DAEs). There has been an increased interest in several areas in exploiting the advantages of working directly with these implicit models. Differentiation plays an important role in both the analysis and numerical solution of DAEs. Automatic differentiation can have a significa...
متن کاملPerformance of automatic differentiation tools in the dynamic simulation of multibody systems
Within the multibody systems literature, few attempts have been made to use automatic differentiation for solving forward multibody dynamics and evaluating its computational efficiency. The most relevant implementations are found in the sensitivity analysis field, but they rarely address automatic differentiation issues in depth. This paper presents a thorough analysis of automatic differentiat...
متن کاملAutomatic differentiation of quadrature
We analyse the application of automatic differentiation (AD) to the quadrature (numerical integration) of a function integrand to determine the sensitivities of the integral to variation in the limits of integration. We derive an expression for the truncation errors of such ADderived sensitivities and relate them to the truncation error of the original, and a closely related, function quadratur...
متن کاملAutomatic Differentiation Applied to Economics
This paper discusses the use of the Automatic Differentiation approach in evaluating derivatives of functions represented by computer programs. We then considered a Cournot oligopoly modeled by a system of stochastic differential equations. The setting is that of a set of self-interested firms striving to adjust their productions in the direction of higher profits subject to mistakes or random ...
متن کاملImplementation of Exact Sensitivities in a Circuit Simulator Using Automatic Differentiation
Sensitivities are very important in electronic circuit analysis and design. This paper presents a general circuit simulation programme that calculates analytical sensitivities with respect to any parameter using automatic differentiation. A novel aspect of this implementation is that C++ templates are used along with automatic differentiation libraries to produce (at compilation time) different...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1996